function [label,score] = predictML(Mdl, X)

% returns a vector of predicted class labels for the predictor data 
% in the table or matrix X, based on the full or compact, trained 
% Mdl model.
%
% predict(___) also returns a matrix of classification scores (score),
% indicating the likelihood that a label comes from a particular class.
% For each observation in X, the predicted class label corresponds to 
% the maximum score among all classes.

[label,score] = predict(Mdl, X);

end